package com.cxkj.dao;

import com.cxkj.dto.Gettable;
import com.cxkj.dto.GettableExample;
import com.cxkj.dto.Meentry;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface GettableMapper {
    int countByExample(GettableExample example);

    int deleteByExample(GettableExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(Gettable record);

    int insertSelective(Gettable record);

    List<Gettable> selectByExample(GettableExample example);

    Gettable selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") Gettable record, @Param("example") GettableExample example);

    int updateByExample(@Param("record") Gettable record, @Param("example") GettableExample example);

    int updateByPrimaryKeySelective(Gettable record);

    int updateByPrimaryKey(Gettable record);
    
    /*新增方法*/
    //查询行数
    long getCount();
    //分页查询领取数据
    List<Gettable> showGetByCount(@Param("startPos") int startPos,@Param("pageSize") int pageSize);
    //领取册号重复检测
    List<Gettable> getTest(@Param("gVolume") String gVolume);
    
    
    
    
}